import request from '@/utils/request'

export function getnodeList(data) {
  return request({
    url: '/gdfs/sys/node/pagelist',
    method: 'post',
    data
  })
}
export function addnode(data) {
  return request({
    url: '/gdfs/sys/node/add',
    method: 'post',
    data
  })
}
export function getnodenamelist() {
  return request({
    url: '/gdfs/sys/node/nodenamelist',
    method: 'get'
  })
}
export function getnodeidnamelist() {
  return request({
    url: '/gdfs/sys/node/nodenameidlist',
    method: 'get'
  })
}
